package com.asp.mapper;

import com.asp.annotation.AutoFill;
import com.asp.entity.TestResults;
import com.asp.enumeration.OperationType;
import com.asp.model.UserResults;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TestResultsMapper {

    List<TestResults> selectAllResultsByUserName(String userName);

    TestResults selectTestByNum(Integer testNum);

    void addResults(UserResults userResults);

    void updateResultsByTestId(Integer id);

    void deleteResultsByNum(Integer testNum);

    void deleteAllResults(String userName);

}